package excel;

import com.wesley.util.excel.ValidateType;
import com.wesley.util.excel.annotation.ExcelColumn;
import com.wesley.util.excel.annotation.Validate;

/**
 * @author:wesley
 */
public class User {

    @ExcelColumn("0")
    private String name;

    @ExcelColumn("1")
    private int age;

    @ExcelColumn("2")
    @Validate(value = ValidateType.MobilePhone)
    private String phone;

    public User() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
